-i |
prompt before overwrite
# cp -i file /etc
|
-f |
if an existing destination file cannot be opened, remove it and try again
# cp -f file /etc
|
-b |
like --backup but does not accept an argument
# cp -b file /etc
|
-p |
preserve the specified attributes (default: mode,ownership,timestamps)
# cp -p file /etc
|
-r(R) |
copy directories recursively
# cp -R dir /etc
|